﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Odyssey.Controls;
using ShoppingListEntities;

namespace ShoppingList.Model
{
    public class ProductJumpListItem :DataItem,  Odyssey.Controls.IGroupItem //Odyssey.Controls.IQuickJumpItem
    {
        public ProductJumpListItem(int id, string name)
            : base(null, id, name.ToLower())
        {
           
        }

        public ProductJumpListItem()
        {
            CurrentProduct = new Product();
        }
        public Product CurrentProduct { get; set;}

        public bool IsHeader
        {
            get;
            set;
        }

        public string Title
        {
            get { return  Name; }
        }

        public bool IsEnabled
        {
            get;
            set;
        }


        string  IGroupItem.GroupName
        {
            get {  return Name; }
        }

    }
}
